package ${pkgName}; 

import java.util.*;

import ${pkgName?replace('dao', 'model')}.*;

public interface Base${className}Mapper {
    public List<${className}> findAll() throws Exception;
    
    public ${className} findById(String id) throws Exception;
    
    public int insert(${className} ${className?uncap_first}) throws Exception;
    
    public int update(Map<String, Object> map) throws Exception;
    
    public int update${className}ById(${className} ${className?uncap_first}) throws Exception;
    
    public int delete(${className} ${className?uncap_first}) throws Exception;
}